package com.tyk.bookstore.front.order.model.dto;

import com.tyk.bookstore.front.order.model.enume.OrderState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author tyk
 * @description Order4PaymentDto
 */
@Data
public class Order4PaymentDto {

    @Schema(description = "订单ID")
    private Long id;

    @Schema(description = "会员ID")
    private Long memberId;

    @Schema(description = "订单金额")
    private BigDecimal amount;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "订单状态")
    private OrderState state;

}
